home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 May / Macworld (1998-05).dmg / Games World / Shareware Games / Arcade / Supreme Commander / Supreme Commander.mac / 00109.ls < prev    next >
Encoding:
Text File  |  1996-01-30  |  642 b   |  24 lines

  1. on exitFrame
  2.   global occupied, topupied, donothing, beenhere
  3.   set donothing to 0
  4.   set the visible of sprite 40 to 1
  5.   if (occupied <> 0) or (topupied <> 0) then
  6.     go("repull")
  7.   else
  8.     if beenhere = 1 then
  9.       set the visible of sprite 9 to 0
  10.       set the visible of sprite 31 to 0
  11.       set the visible of sprite 17 to 0
  12.       set the visible of sprite 11 to 0
  13.       set the visible of sprite 10 to 0
  14.       set the visible of sprite 13 to 0
  15.       set the visible of sprite 14 to 0
  16.       go("repull")
  17.     else
  18.       set the visible of sprite 4 to 1
  19.       set the visible of sprite 5 to 1
  20.       go("WAITING")
  21.     end if
  22.   end if
  23. end
  24.